package com.zjitc.pigstudy.Exception;


public class ServiceException extends RuntimeException{

    public String code;

    public ServiceException(String msg){
        super(msg);
        this.code="500";
    }

    public ServiceException(String code,String msg){
        super(msg);
        this.code=code;
    }

}
